package myerr

import (
	"log"
	"os"
)

func PrintErr(info string, err error) {
	if err != nil {
		log.Printf(info, err)
		os.Exit(-1)
	}
}
